package com.hyk.commonLib.common.adapter;

import java.util.List;

/**
 * Created by 贺玉琨 on 2019/8/6.
 */
public interface IAdapter<T> {
    void notifyItemClickEvent(int position);

    List<T> getDataList();

    default T getItem(int position) {
        return (T) getDataList().get(position);
    }
}
